#include <stdio.h>
#include <string.h>
#define BUFFER_SIZE 100

int main()
{
    int count = 0;
    char buffer[BUFFER_SIZE];
    printf("请输入一个字符串buffer：");
    scanf("%s", buffer);
    printf("buffer:%s\n",buffer);
    int len = strlen(buffer);
    printf("len:%d\n", len);
    while(1)
    {
        for(int idx = 0; idx < len ; idx++)
        {
            if(buffer[idx] == 'a' || buffer[idx] =='e' || buffer[idx] == 'i' || buffer[idx] =='o' || buffer[idx] == 'u')
            {
                count++;
            }
        }
        break;
    }
    printf("该字符串中所有元音字母（a, e, i, o, u）的个数为%d个\n", count);
    return 0;
}